/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 26727
 * Date: 2024-01-19
 * Time: 21:38
 */
public class Test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        mySingleList.addLast(19);
        mySingleList.addLast(24);
        mySingleList.addLast(55);
        mySingleList.addLast(43);
        mySingleList.addLast(25);

        //原始链表
        mySingleList.display();
        mySingleList.partition(44);
        //分割后
        System.out.println("=================");
        mySingleList.display();

    }
}
